import React from 'react';
import ReactDOM from 'react-dom';
import 'antd/dist/antd.css';
import { Provider } from 'react-redux'
import store from '@/redux/store'
// 加载播放器样式文件
// const styles = ['buttons', 'cover', 'icons', 'progress', 'volume']

import 'react-soundplayer/styles/buttons.css'
import 'react-soundplayer/styles/cover.css'
import 'react-soundplayer/styles/icons.css'
import 'react-soundplayer/styles/progress.css'
import 'react-soundplayer/styles/volume.css'
// import Test from './test/motion'
// import AudioTest from './test/AudioTest'

import Layout from './container/Layout/Layout'
import reportWebVitals from './reportWebVitals';
import './index.css';
console.log(store.getState(), 'getstate')
console.log(store.getState(), 'store');



ReactDOM.render(
  <React.StrictMode>
    <Provider store={store}>
      {/* <AudioTest /> */}
      {/* <Test /> */}
      <Layout />
    </Provider>
  </React.StrictMode>,
  document.getElementById('root')
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
